package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;

import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    // 2.1 查询所有护理级别
    List<NursingLevelVo> selectAll();

    // 2.2.1 新增护理级别
    void insertNursingLevel(NursingLevelDto nursingLevelDto);
    // 2.2.2 批量新增
    void insertBatch(List<NursingLevelDto> nursingLevelDtos);

    //2.3 分页查询护理等级NursingLevel
    PageResponse<NursingLevelVo> selectByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    // 2.4 根据id查询护理等级Level
    NursingLevelVo findById(Long id);

    // 2.5更新护理等级信息
    void update(NursingLevelDto nursingLevelDto);

    // 2.6 删除护理等级信息
    void delete(Long id);

    // 2.7 启用/禁用护理等级
    void enableOrDisable(Long id, Integer status);

    // 2.8 根据nursingPlan计划id查询护理等级
    List<NursingLevelVo> listAllByPlanIds(List<Long> ids);
}
